package com.micromall.common.payment.dto.query.bytime.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * Created by DanteFung on 2017/7/4.
 */
@JsonRootName("head")
public class Head {

    @JsonProperty("RspCode")
    private String rspCode;

    @JsonProperty("RspMsg")
    private String rspMsg;

    @JsonProperty("ReqDate")
    private String reqDate;

    @JsonProperty("RspDate")
    private String rspDate;

    @JsonProperty("Signature")
    private String signature;

    public String getRspCode() {
        return rspCode;
    }

    public void setRspCode(String rspCode) {
        this.rspCode = rspCode;
    }

    public String getRspMsg() {
        return rspMsg;
    }

    public void setRspMsg(String rspMsg) {
        this.rspMsg = "<![CDATA["+rspMsg+"]]>";
    }

    public String getReqDate() {
        return reqDate;
    }

    public void setReqDate(String reqDate) {
        this.reqDate = reqDate;
    }

    public String getRspDate() {
        return rspDate;
    }

    public void setRspDate(String rspDate) {
        this.rspDate = rspDate;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    @Override
    public String toString() {
        return "Head{" +
                "rspCode='" + rspCode + '\'' +
                ", rspMsg='" + rspMsg + '\'' +
                ", reqDate='" + reqDate + '\'' +
                ", rspDate='" + rspDate + '\'' +
                ", signature='" + signature + '\'' +
                '}';
    }
}
